package beans;

import java.util.List;

public class XLKJResult<T> {

    private int resultCode;
    private boolean success;
    private String msg;
    private List<T> result;

    public XLKJResult() {
    }

    public XLKJResult(int resultCode, boolean success, String msg, List<T> result) {
        this.resultCode = resultCode;
        this.success = success;
        this.msg = msg;
        this.result = result;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<T> getResult() {
        return result;
    }

    public void setResult(List<T> result) {
        this.result = result;
    }
}
